<?php
include_once "user.php";
$liuyanStr = file_get_contents("data.json");
$liuyanArr = explode(PHP_EOL, $liuyanStr);

echo "<a href='liuyan.html'> 添加留言</a><br>";
foreach ($liuyanArr as $subArr) {
    print($subArr);
    echo '<br>';
}